package com.sg.dto.integration.component;

import com.sg.common.dto.BaseDto;
import com.sg.dto.integration.component.MessageNumLoopStartDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @desc LoopUpdateMemberAncestorsPositionMessageNumComReqDto
 * @使用场景
 */
@Data
public class LoopUpdateMemberAncestorsPositionMessageNumComReqDto
        extends BaseDto
        implements Serializable {

    @ApiModelProperty("消息数量列表")
    private List<MessageNumLoopStartDto> messageNumLoopStartList = new ArrayList<>();

    /**
     * 消息位置标识
     */
    @NotNull(message = "消息位置标识不能为空")
    @ApiModelProperty("消息位置标识")
    private String messageLocationTypeCode;

}
